#coding=utf-8

from aiospider import *

class rrr():

    def run (self):
        urls = [
            'https://xiapi.xiapibuy.com/buyer/unfollow/shop/5839396/',
        ]
        HTTP_HEADER = {
            "Accept": "application/json",
            "Accept-Encoding": "gzip, deflate, br",
            "Accept-Language": "zh-CN,zh;q=0.9",
            "Cache-Control": "no-cache",
            "Connection": "keep-alive",
            "Pragma": "no-cache",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36",
            
            }
        datas = {
            "key":"sss"
        }
        a=AsnycSpider()
        a.aiopost(urls,HTTP_HEADER,datas)
        print(a.result)
        print(len(a.result))


a =rrr()
a.run()